/*
 * LevelupExpResource.h
 *
 *  Created on: 2014. 3. 11.
 *      Author: mega
 */

#ifndef LEVELUPEXPRESOURCE_H_
#define LEVELUPEXPRESOURCE_H_

#include <map>

namespace ProjectZ { namespace NResource {

class LevelupExpResource
{
public:
	struct Flyweight
	{
		int _LEVEL;
		int _NEED_EXP;
	};

public:
	LevelupExpResource();
	virtual ~LevelupExpResource();

	bool		LoadResource();
	Flyweight * GetFly(int level);

private:
	void		Clear();

public:
	typedef std::map<int, Flyweight *> LEVELUPEXPTREE;

private:
	LEVELUPEXPTREE clsFlyTree;
};

} /*NResource*/ } /*ProjectZ*/


#endif /* LEVELUPEXPRESOURCE_H_ */
